<template>
  <div class="hello">
    <h3>测试更新</h3>
    <h1>{{ msg + ip}}</h1>
  </div>
</template>

<script>
import { testManager } from '../api/test';
export default {
  name: 'HelloWorld',
  data () {
    return {
      ip: process.env.VUE_APP_API_BASE,
      height: 120,
      boolean: true
    }
  },
  props: {
    msg: String,
  },
  mounted: function () {
    testManager.whoAmI().then(
      success => {
        console.info('success', success);
      },
      error => {
        console.info('error', error);
      }
    );
  }
}
</script>

<!-- Add "scoped" attribute to limit CSS to this component only -->
<style scoped>

</style>
